package com.yongbao.model.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.yongbao.common.domain.BaseEntity;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * @author zhanghong
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@TableName("dish_order")
public class DishOrderDO extends BaseEntity implements Serializable {
    private static final long serialVersionUID = 1L;
    /** 订单编号 */
    @TableField("order_num")
    private String orderNum;
    /** 发起人id */
    @TableField("user_id")
    private Long userId;
    /** 区id */
    @TableField("area_id")
    private Long areaId;
    /** 区名称 */
    @TableField("area_name")
    private String areaName;
    /** 区名称前缀 */
    @TableField("area_name_prefix")
    private String areaNamePrefix;
    /** 街道id */
    @TableField("street_id")
    private Long streetId;
    /** 街道id */
    @TableField("street_name")
    private String streetName;
    /** 具体地址 */
    @TableField("address")
    private String address;
    /** 经度(下单地址的经度) */
    @TableField("lng")
    private String lng;
    /** 纬度(下单地址的纬度) */
    @TableField("lat")
    private String lat;
    /** 预定早餐  0否 1是 */
    @TableField("book_breakfast")
    private Integer bookBreakfast;
    /** 预定中午饭  0否 1是 */
    @TableField("book_lunch")
    private Integer bookLunch;
    /** 预定下午饭  0否 1是 */
    @TableField("book_dinner")
    private Integer bookDinner;
    /** 订餐类型 1周餐 2月餐 */
    @TableField("order_type")
    private String orderType;
    /** 送餐开始日期 */
    @TableField("start_date")
    private Date startDate;
    /** 送餐结束日期 */
    @TableField("end_date")
    private Date endDate;
}
